package cn.zn.modules.appoin.service;

import cn.zn.modules.appoin.entity.AtrWeekEntity;
import com.baomidou.mybatisplus.extension.service.IService;

public interface AtrWeekService extends IService<AtrWeekEntity> {

    /**
     * 保存工作周
     */
    void saveWeek(String ruleId);

    /**
     * 更新工作周信息
     *
     * @param atrWeekEntity
     */
    void updateWeek(AtrWeekEntity atrWeekEntity);

    /**
     * 查询周工作
     *
     * @param ruleId
     * @param weekDay
     * @return
     */
    AtrWeekEntity queryByWeekday(String ruleId, int weekDay);
}
